package com.kyg.tjtoolmanager.module;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 仓库门：
 */
public class WareHouse {

    /**
     * 展示位置
     */
    public int position;
    /**
     * 名称
     */
    @JSONField(name = "NAME")
    public String name;
    /**
     * 编号
     */
    @JSONField(name = "ID")
    public int houseId;

    /**
     * 摄像头IP
     */
    @JSONField(name = "MONITOR_IP")
    public String cameraIp;

    /**
     * 门禁IP
     */
    @JSONField(name = "HOUSE_IP")
    public String doorIp;

    /**
     * 编码
     */
    @JSONField(name = "CODE_NUM")
    public String codeNum;


    public String toDoorString() {
        return name + "\n\n门禁IP:" + doorIp + "\n监控摄像头IP：" + cameraIp;
    }

}
